package cn.iocoder.yudao.module.diy.utils;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 自定义路由 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DiyRouteRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "14723")
    @ExcelProperty("主键")
    private Integer id;

    @Schema(description = "页面名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("页面名称")
    private String title;

    @Schema(description = "页面标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("页面标识")
    private String name;

    @Schema(description = "页面路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("页面路径")
    private String page;

    @Schema(description = "分享内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("分享内容")
    private String share;

    @Schema(description = "是否支持分享", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否支持分享")
    private Integer isShare;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;

}